#include<stdio.h>
#include<math.h>
int main(void)
{ 
	double i, n, max;
	i = 1, max = 1;
	printf("Please input a number");
	scanf_s("%lf", &n);
	if (n < 0)
	{
		n = -n;
	}
	do
	{
		max *= i;
		i++;

	} 
	while (i <= n);
	printf("The max is %lf", max);
	return 0;






}


